<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
<title></title>
</head>
<body>
	<h1>这是测试页面</h1>
	<script>
		$.getJSON('http://localhost:8000/getUser',"",function(data){
			// data.student.forEach(o=>o$('h1').after(o))
			// data.student.forEach(o=>$('h1').after(o.name+''+o.password+'<br>'))
			data.student.forEach(o=>$('h1').after(o.name+''+o.id+'<br>'))
			console.log(data.student);
		})
	</script>
</body>
</html>
